package com.guonima.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : guonima
 * @create : 2017-10-30-23:29
 */
@FeignClient(value = "eureka-client", fallback = TestService.class)
public interface ITestService {

    @GetMapping("/test")
    public String test(@RequestParam(value = "name") String name);
}
